//-----------------------------------------------------------------------
// <copyright file="ResponsibleBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class ShoppingList
	{
		
		#region Variable Declarations
		private int				id = 0;
		private int				iDSSort = 0;
		private string				productCode = string.Empty;
		private string				description = string.Empty;
		private string				unitSetting = string.Empty;
		private int				qty = 0;
		private decimal unitPrice;
		private decimal totalPrice;
		private int priorityIndex;
		private string  notes;
		private int bulkOrderId;
		private int  unitSettingID;
		private decimal  unitWeight;
		private decimal minQtyVolume;
		private string territoryID	;

		#endregion
		
		#region Constructors
		public ShoppingList() {}
		
		public ShoppingList (
			int id,int iDSSort,
			string productCode,
			string description,
			int qty,decimal unitPrice, decimal totalPrice, int priorityIndex,
			string unitSetting,
			string notes,
			 int bulkOrderId,
		int  unitSettingID,
		decimal  unitWeight,
		decimal minQtyVolume,
		 string territoryID	)
		
		{
			this.id = id;
			this.iDSSort = iDSSort;
			this.productCode = productCode;
			this.description = description;
			this.qty = qty;
			this.unitPrice = unitPrice;
			this.totalPrice = totalPrice;
			this.priorityIndex = priorityIndex;
			this.unitSetting = unitSetting;
			this.notes = notes;
			this.bulkOrderId =  bulkOrderId;
			this.unitSettingID = unitSettingID;
			this.unitWeight = unitWeight;
			this.minQtyVolume = minQtyVolume;
			this.territoryID = territoryID;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Id
		{
			get { return id; }
			set { id = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int IDSSort
		{
			get { return iDSSort; }
			set { iDSSort = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Qty
		{
			get { return qty; }
			set { qty = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ProductCode
		{
			get { return productCode; }
			set { productCode = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Notes
		{
			get { return notes; }
			set { notes = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string UnitSetting
		{
			get { return unitSetting; }
			set { unitSetting = value; }
		}

		
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal UnitPrice
		{
			get { return unitPrice; }
			set { unitPrice = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal TotalPrice
		{
			get { return totalPrice; }
			set { totalPrice = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PriorityIndex
		{
			get { return priorityIndex; }
			set { priorityIndex = value; }
		}
	

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int BulkOrderId
		{
			get { return bulkOrderId; }
			set { bulkOrderId = value; }
		}
		
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int UnitSettingID
		{
			get { return unitSettingID; }
			set { unitSettingID = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal UnitWeight
		{
			get { return unitWeight; }
			set { unitWeight = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal MinQtyVolume
		{
			get { return minQtyVolume; }
			set { minQtyVolume = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is string</value>
		public string TerritoryID
		{
			get { return territoryID; }
			set { territoryID = value; }
		}
		#endregion
	}//End Class
	
	public enum ShoppingListColumns
	{
		Id,
		IDSSort,
		ProductCode,
		Description,
		Qty,
		UnitSetting,
		UnitPrice,
		TotalPrice,
		PriorityIndex,
		Notes,
		BulkOrderId	,
		UnitSettingID	,
		UnitWeight,
		MinQtyVolume,
		TerritoryID	
	}//End enum
}